/*
 * Physical.java
 *
 * Created on March 27, 2007, 7:29 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package edu.byu.isys413.samlam;

/**
 * Physical
 * @author Nick
 */
public class Physical extends Product{
    
    private String serialNumber;
    private String shelflocation;
    private String datePurchased;
    private Conceptual conceptual;
    private Store store;
    private boolean saleorRent;
    private boolean newOrUsed;
    /** Creates a new instance of Physical */
    public Physical(String id) {
        super(id);
    }

    public String getShelflocation() {
        return shelflocation;
    }

    public void setShelflocation(String shelflocation) {
        this.shelflocation = shelflocation;
        this.setDirty(true);
    }

    public String getDatePurchased() {
        return datePurchased;
    }

    public void setDatePurchased(String datePurchased) {
        this.datePurchased = datePurchased;
        this.setDirty(true);
    }

   
    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
        this.setDirty(true);
    }

    public boolean isSaleorRent() {
        return saleorRent;
    }

    public void setSaleorRent(boolean saleorRent) {
        this.saleorRent = saleorRent;
        this.setDirty(true);
    }

    public boolean isNewOrUsed() {
        return newOrUsed;
    }

    public void setNewOrUsed(boolean newOrUsed) {
        this.newOrUsed = newOrUsed;
        this.setDirty(true);
    }

    public Conceptual getConceptual() {
        return conceptual;
    }

    public void setConceptual(Conceptual conceptual) {
        this.conceptual = conceptual;
    }

    public Store getStore() {
        return store;
    }

    public void setStore(Store store) {
        this.store = store;
    }

}
